package com.juzhi.dvrapp.bean;

import java.io.Serializable;

/**
 * Created by YangHu on 2017/9/11.
 */

public class DeviceUser implements Serializable{


    /**
     * 主键
     */
    private String id;

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 用户类型
     */
    private int type;

    /**
     * appIp
     */
    private String appIp;

    /**
     * app端口号
     */
    private String appPort;

    /**
     * 管理员用户数
     */
    private int adminCount;

    /**
     * 访客用户数
     */
    private int guestCount;

    public DeviceUser(String deviceId,String username,String password,int type){
        this.deviceId = deviceId;
        this.username = username;
        this.password = password;
        this.type = type;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getAppIp() {
        return appIp;
    }

    public void setAppIp(String appIp) {
        this.appIp = appIp;
    }

    public String getAppPort() {
        return appPort;
    }

    public void setAppPort(String appPort) {
        this.appPort = appPort;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getAdminCount() {
        return adminCount;
    }

    public void setAdminCount(int adminCount) {
        this.adminCount = adminCount;
    }

    public int getGuestCount() {
        return guestCount;
    }

    public void setGuestCount(int guestCount) {
        this.guestCount = guestCount;
    }
}
